﻿using BPMN.Application.Contracts.DTO.Response;
using BPMN.Domain.Entity.Scheduling;
using BPMN.Domain.Entity.User;
using BPMN.DomianShare;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPMN.Application.IService
{
    /// <summary>
    /// 排班
    /// </summary>
    public interface ISchedulingAppService : IAppServiceBase<Plan>, IScoped
    {
      //异步 
        Task<ResultResponseDto<int>> AddPlan(Plan entity);
        Task<ResultResponseDto<int>> UpdatePlan(Plan entity);
        Task<ResultResponseDto<List<Plan>>> GetPlan();
        Task<ResultResponseDto<Plan>> GetPlanById(int Id);
            
        Task<ResultResponseDto<int>> DelelePlan(int Id);
        
        
    }
}
